package com.swjd.dao;

import com.swjd.pojo.Concern;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ConcernMapper {
    List<String> selectConcern(@Param("username") String username);//查询关注的用户

    List<String> selectFans(@Param("concernName") String concernName);//查询用户的粉丝

    int deleteConcernName(Concern concern);//取消关注

    int insert(Concern record);

    int insertSelective(Concern record);

    int updateByPrimaryKeySelective(Concern record);

    int updateByPrimaryKey(Concern record);
}